package com.kermel.andromeda.data;

import android.test.AndroidTestCase;

public class DateDisplayTypeTest extends AndroidTestCase {

    public void testIsNone() {
        assertTrue(DateDisplayType.NONE.isNone());
        assertFalse(DateDisplayType.SHORT.isNone());
    }

    public void testIsNotNone() {
        assertFalse(DateDisplayType.NONE.isNotNone());
        assertTrue(DateDisplayType.SHORT.isNotNone());
    }

    public void testIsShort() {
        assertTrue(DateDisplayType.SHORT.isShort());
        assertFalse(DateDisplayType.FULL.isShort());
    }

    public void testIsNotShort() {
        assertFalse(DateDisplayType.SHORT.isNotShort());
        assertTrue(DateDisplayType.FULL.isNotShort());
    }

    public void testIsFull() {
        assertTrue(DateDisplayType.FULL.isFull());
        assertFalse(DateDisplayType.NONE.isFull());
    }

    public void testIsNotFull() {
        assertFalse(DateDisplayType.FULL.isNotFull());
        assertTrue(DateDisplayType.SHORT.isNotFull());
    }

}
